package com.haozhen.entity;

import java.io.Serializable;

/**
 * @author haozhen
 * @email haozh@ync1.com
 * @date 2020/10/24  1:46
 * zk 节点数据对象
 */
public class DataSourceLinkInfo implements Serializable {

    private String url;

    private String password;

    private String username;

    private String type = "mysql";

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "DataSourceLinkInfo{" +
                "url='" + url + '\'' +
                ", password='" + password + '\'' +
                ", username='" + username + '\'' +
                ", type='" + type + '\'' +
                '}';
    }
}
